Stripe\StripeTaxForWooCommerce\Stripe\TaxTransaction S

Total Complexity 49
Dependencies 10
Dependents 2
Total lines 512
Lines of code 270
Logical lines of code 135
Comment lines 149
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
on_error()
S
52 6 23
create_order_refund_reversal()
S
50 5 29
get_order_all_transactions()
S
50 4 31
prepend_transaction()
S
56 4 20
create_api_tax_reversal()
S
56 4 18
create_full_api_tax_reversal_with_partial_reversals()
S
58 4 15
get_order_last_transaction()
S
62 4 12
create_order_transaction()
S
58 3 16
compare_tax_transactions_by_created_asc()
S
64 3 11
save_transaction()
S
53 2 26
create_full_api_tax_reversal()
S
54 2 23
reverse_order_last_transaction()
S
69 2 7
create_full_reversal()
S
65 2 10
create_api_tax_transaction()
S
62 1 12
get_order_refunds()
S
70 1 6
compare_order_refunds_by_id_asc()
S
80 1 3
create_transaction_dto()
S
66 1 8